package com.ll.daipao.wechat.dao;

import com.ll.daipao.wechat.vo.TOrder;

import java.util.List;
import java.util.Map;

public interface TOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TOrder record);

    int insertSelective(TOrder record);

    TOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TOrder record);

    int updateByPrimaryKey(TOrder record);

    List<Map<String,Object>> selectAll(Map<String,Object> map);

    int selectAllOrderBysend(String accountId);

    Map<String,Object> selectAllOrderAmountByre(String accountId);

    Map<String ,Object> selectOrderByIdAndReaccountId(Map<String ,Object> map);

    List<Map<String,Object>> selectAllHeOrderByOpenId(String openId);

    List<Map<String,Object>> selectAllHeOrderByMap(Map<String,Object> map);

    List<Map<String,Object>> selectAllReOrderByMap(Map<String,Object> map);
}